const mongoose= require('mongoose')
const Schema = mongoose.Schema

const TagSchema = new Schema({
  // 标签名称
  name: {
    type: String,
    require: true
  },
  // 创建标签时间
  createTime: {
    type: Number,
    require: true
  }
})

module.exports =mongoose.model('Tag', TagSchema, 'tag')